﻿using System;

namespace Kodefabrikken.DDD.Entity
{
    /// <summary>
    /// Interface for objects that is Identity
    /// </summary>
    /// <typeparam name="TKey">The value type for the Identity</typeparam>
    public interface IIdentity<TKey> : IEquatable<IIdentity<TKey>>
    {
        TKey Value { get; }
    }
}
